package cn.iocoder.yudao.module.data.controller.admin.dscategory.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @author gukun
 */
@Schema(description = "管理后台 - 分类分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DsCategoryPageReqVO extends PageParam {

    @Schema(description = "名称", example = "张三")
    private String name;

    @Schema(description = "描述", example = "你猜")
    private String description;

    @Schema(description = "类型", example = "2")
    private String type;

    @Schema(description = "父级ID", example = "14719")
    private Long pid;

    @Schema(description = "更新方式：0：替换；1：追加", example = "2")
    private String editType;

    @Schema(description = "详细信息")
    private String configuration;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "状态", example = "2")
    private String status;

    @Schema(description = "状态")
    private String qrtzInstance;

    @Schema(description = "任务状态", example = "1")
    private String taskStatus;

    @Schema(description = "启用数据填报功能")
    private Integer enableDataFill;

}